home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d1 / freemacs.arc / EMACS.EDD < prev    next >
Text File  |  1988-03-17  |  5KB  |  188 lines

  1.  
  2.  
  3.  
  4. Name:Floop
  5. Return arg2 copies of arg1, active
  6. [*]
  7.  
  8. Name:Fextens-only
  9. Returns only the extension of the filename in arg1.
  10. [*]
  11.  
  12. Name:Fuse-default-ext
  13. Appends the default extension to the filename if the filename doesn't
  14. already have an extension.
  15. [*]
  16.  
  17. Name:Fset-default-ext
  18. Causes ##(Fdefault ext) to become the extension specified by FILENAME.
  19. [*]
  20.  
  21. Name:Fnew-extens
  22. Strips the extension off filename (arg1) and appends ext (arg2) to it.
  23. [*]
  24.  
  25. Name:Fload-lib
  26. Load a library into memory.
  27. [*]
  28.  
  29. Name:Fsave-lib
  30. Save a library and documentation file, if loaded.
  31. [*]
  32.  
  33. Name:F:save-all-libs
  34. Save all modified libraries.
  35. [*]
  36.  
  37. Name:Ffor-all-buffers
  38. #(Ffor-all-buffers,STRING) will execute the function named in
  39. STRING for every user buffer.  Equivalent to #(ba,2)STRING #(ba,3)STRING,
  40. etc. for all the buffers that exist.
  41. [*]
  42.  
  43. Name:Fbuffer-modified
  44. #(Fbuffer-modified,YES,NO) executes
  45. YES if the buffer has been modified, otherwise it executes NO.
  46. [*]
  47.  
  48. Name:Fsave-buffer-if-modified
  49. #(Fsave-buffer-if-modified) will save the buffer into
  50. ##(buffer-filename).tmp if the buffer has been modified.
  51. [*]
  52.  
  53. Name:Fok-to-trash-buffer
  54. #(Fok-to-trash-buffer,FUNCTIONS) asks the user if it is ok to trash the
  55. buffer.  If the user responds with 'y', then FUNCTIONS is executed.
  56. [*]
  57.  
  58. Name:Ftrash-buffer
  59. Gives the user a chance to save unsaved changes.
  60. [*]
  61.  
  62. Name:F&setup
  63. Executed immediately after the fundamental library is loaded.
  64. [*]
  65.  
  66. Name:F:name-kbd-macro
  67. Give a name to a previously defined keyboard macro
  68. [*]
  69.  
  70. Name:F:bind-to-key
  71. Bind a key to a function.
  72. [*]
  73.  
  74. Name:F:unbind-key
  75. Remove a key binding.
  76. [*]
  77.  
  78. Name:Fmark
  79. A character from @ to F which is the current mark in the mark ring.
  80. [*]
  81.  
  82. Name:Fmark.head
  83. Is this in use?
  84. [*]
  85.  
  86. Name:Fset-new-mark
  87. Set the next mark on the mark ring to the mark given in arg1.
  88. [*]
  89.  
  90. Name:F:swap-point-and-mark
  91. Set the mark to where the point is, and set the point to where the mark was.
  92. [*]
  93.  
  94. Name:Fregion-chars
  95. Process all the characters between point and mark by applying each to the
  96. function given by arg1.  This function has a range and domain of decimal
  97. character numbers.
  98. [*]
  99.  
  100. Name:Freadline
  101. Read a line of text from the minibuffer.
  102. On entry, #(value) is the default string.
  103. arg1=prompt
  104. arg2=string to execute if input is confirmed with return.  The users input
  105.      is in #(value)
  106. arg3=name of string containing the help
  107. arg4=mode.
  108. The mode variable lets keys be redefined in readline mode.  For example,
  109. isearch defines ^S and ^R specially, and extended-command defines space and
  110. escape specially.
  111. [*]
  112.  
  113. Name:Fyes-or-no
  114. #(Fyes-or-no,PROMPT,YES,NO) will wait for a key and execute YES if
  115. that key is 'y'.  It will execute NO if the key is 'n'.
  116. It keeps trying until a recognized key is hit.
  117. [*]
  118.  
  119. Name:Fcase
  120. If you look at the second ==, #(==,arg1,arg2,(...)), you might expect
  121. that if arg1 == arg2 then (...) gets returned.  However, Fcase is called
  122. like this:
  123.  
  124. #(Fcase,arg1,
  125.     (new,(
  126.         stuff to do if arg1 = new.
  127.     )),
  128.     (forward,(
  129.         stuff to do if arg1 = forward.
  130.     )),
  131.     (backward,(
  132.         stuff to do if arg1 = backward.
  133.     )),
  134.     (
  135.         stuff to do if arg1 isn't any of the above
  136.     )
  137. )
  138.  
  139. As you can see, arg2 has an unprotected comma in it, so that when the 
  140. second == gets executed, it looks like this:
  141.  
  142. #(==,arg1,new,(yes),(no))
  143.  
  144. [*]
  145.  
  146. Name:F-comment-column
  147. The column that comments should be aligned to.
  148. [*]
  149.  
  150. Name:F-fill-column
  151. The column used by #(Fjustify-paragraph)
  152. [*]
  153.  
  154. Name:Ferror
  155. Report arg1 as an error only if it is non-null.
  156. [*]
  157.  
  158. Name:Fmultiple
  159. #(Fmultiple,STRING,LIST) will execute #(STRING,LIST ELEMENT) where LIST
  160. consists of LIST ELEMENTS seperated by commas.  Note that LIST can not be
  161. scanned, otherwise the commas will be converted to argument seperators.  Use
  162. parentheses to protect LIST, or use a neutral function to return its results
  163. unscanned.
  164. [*]
  165.  
  166. Name:Fpad-to-column
  167. #(Fpad-to-column,COL) will append enough tabs and spaces to the line to
  168. put the point at the given column.
  169. [*]
  170.  
  171. Name:Fisupper
  172. #(Fisupper,CHAR,YES,NO) tests the ASCII value of char and executes YES
  173. if the character is an upper case letter or NO if not.
  174. [*]
  175.  
  176. Name:Ftoupper
  177. #(Ftoupper,CHAR) maps ASCII values into ASCII values.  Only lower case
  178. letters are changed to upper case.
  179. [*]
  180.  
  181. Name:Ftolower
  182. #(Ftolower,CHAR) maps ASCII values into ASCII values.  Only upper case
  183. letters are changed to lower case.
  184. [*]
  185.  
  186. Name:Fmax
  187. #(Fmax,A,B) returns the numerically greater of A and B.
  188. [*]